package com.mdd.admin.validate.staff;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 师傅参数
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "师傅状态修改请求对象", description = "师傅状态修改请求对象")
public class StaffStatusParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "主键id")
    private Long id;

    @NotNull(message = "status不能为空")
    @ApiModelProperty(value = "状态:1-启用;0-停用;")
    private Integer status;


}
